{% extends 'base.html' %}
{% block container %}
    <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">打开模态窗口</button>
    <div id="myModal" class="modal fade" tabindex="-1" role="dialog">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">模态窗口</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">×</span>
        </button>
      </div>
      <div class="modal-body">
        <p>模态窗口内容,测试中</p>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>

      </div>
    </div>
  </div></div>

{% endblock %}